<template>
  <div id="login-page">

    <div class="title">VueAdmin</div>
    <br>
    <!-- 普通登录 -->
    <div class="login-panel">
      <normal-login></normal-login>
    </div>
  </div>
</template>
<script type="text/babel">
  import NormalLogin from './normal-login.vue';

  export default {
    components: {
      NormalLogin,
    }
  }
</script>

<style scoped lang="scss">
  #login-page /deep/ {
    height: 100%;
    text-align: center;
    padding-top: 5%;
    box-sizing: border-box;
    background-image: url("http://jic.talkingdata.com/websites/images/home-bg.jpg");
    //background: #002B5A;//#283734;
    background-size: cover;
    background-position-x: 50%;
    background-repeat: no-repeat;
    .title {
      display: inline-block;
      margin-left: 10px;
      color: #FFF;
      font-size: 30px;
      line-height: 78px;
      vertical-align: top;
    }
    .login-panel {
       z-index: 10;
      position: fixed;
      left: 50%;
      transform: translateX(-50%);
      display: inline-block;
      margin-top: 60px;
      text-align: left;
      width: 346px;
      box-sizing: border-box;
      box-shadow: 0 0 6px rgba(255,255,255,.3);
      background: rgba(255,255,255,.3);
      border-radius: 6px;
      padding: 8px;
      .el-form {
        background: #FFF;
        box-shadow: 0 0 30px rgba(255,255,255,.5) inset;
        padding: 15px;
      }
      .none-required.is-required .el-form-item__label:before {
        content: ''
      }
      .log-button {
        display: block;
        width: 100%;
        margin-top: 14px;
      }

      .el-checkbox__label {
        color: #9B9B9B;
      }
    }
    .bg-container {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }
  }
</style>
